<template>
  <div class="money-label" :style="{ 'background-image': `url(${item.img})` }">
    <div>
      <div class="label">{{ item.label }}</div>
      <div class="count">{{ item.count }}</div>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
export default {
  components: {},
  props: {
    item: {
      type: Object,
      default() {
        return {};
      }
    }
  },
  data() {
    return {};
  },
  created() {},
  mounted() {},
  methods: {}
};
</script>

<style lang="scss" scoped>
.money-label {
  width: 100%;
  height: 100%;
  position: relative;
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  .label {
    font-size: 18px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #3d4966;
    text-align: center;
  }
  .count {
    font-size: 32px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #3d4966;
    text-align: center;
  }
}
</style>
